package InsertionSort;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

class InsertionSortTest {

    @Test
    void sort() {
        int[] expect = {1,2,3,4,5};
        int[] a1 = {2,4,5,3,1};
        InsertionSort.sort(a1);
        Assertions.assertArrayEquals(expect,a1);
    }
}